<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Add Site</title>
</head>
<body>

	<h1>Add Site</h1>
	<form:form modelAttribute="site" action="add" method="post">
		<fieldset>
			<legend>Site</legend>
			<p>
			<div>
				<form:label for="name" path="name" cssErrorClass="error">Name</form:label>
			</div>
			<div>
				<form:input path="name" />
				<form:errors path="name" />
			</div>
			</p>
			<p>
				<input type="submit" value="Add"/>
			</p>
		</fieldset>
	</form:form>
</body>
</html>
